#!/usr/bin/env node

const circle = require('./05-export-object.js')
const log = console.log

const radius = 5
// 动态导入 chalk 模块
import('chalk').then(chalk => {
  // 打印导入模块的变量，文字用绿色
  
  log(chalk.default.green(`Diameter: ${circle.diameter(radius)}`))
  log(chalk.default.green(`Area: ${circle.area(radius)}`))
  log(chalk.default.green(`Circumference: ${circle.circumference(radius)}`))
  log(module)
}).catch(error => {
  console.error('Error importing chalk:', error)
});


